import { RouteRecordRaw } from "vue-router";

export const routes: RouteRecordRaw[] = [
    {
      path: '/', // 默认进入首页
      redirect: '/login'
    },
    {
      path: '/login', // 登录页面
      name: 'login',
      component: () => import('@/views/Login/index.vue')
    },
    {
      path: '/discover', // 登录页面
      name: 'discover',
      component: () => import('@/views/discover/index.vue')
    }
  ]